﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace SqlTdd.Core.Model
{
    public class SqlTddTestSchema
    {
        public SqlTddTestSchema(string schema)
        {
            Name = schema;
        }

        public virtual string Name { get; set; }
        public virtual IList<SqlTddTestSuite> TestSuites { get; set; }

        public virtual void AddSuite(SqlTddTestSuite suite)
        {
            if (TestSuites == null)
                TestSuites = new List<SqlTddTestSuite>();
            TestSuites.Add(suite);
        }
    }
}